<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-avatar" class="form-control form-control" size="50" name="row[avatar]" type="text" value="{$row.avatar}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-avatar" class="btn btn-danger plupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-avatar"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-avatar"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-username" class="form-control form-control" name="row[username]" type="text" value="{$row.username}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Paypass')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-paypass" class="form-control form-control" name="row[paypass]" placeholder="为空则不修改" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pass')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pass" class="form-control form-control" name="row[pass]" placeholder="为空则不修改" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" class="form-control form-control" name="row[phone]" type="text" value="{$row.phone}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-email" class="form-control form-control" name="row[email]" type="text" value="{$row.email}">
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Addtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addtime" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[addtime]" type="text" value="{$row.addtime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Delstatus')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-delstatus" data-rule="required" class="form-control form-control" name="row[delstatus]" type="number" value="{$row.delstatus}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deltime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deltime" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[deltime]" type="text" value="{$row.deltime|datetime}">
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Strength')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-strength"  class="form-control form-control" step="0.01" name="row[strength]" type="number" value="{$row.strength}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gold')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gold"  class="form-control form-control" step="0.01" name="row[gold]" type="number" value="{$row.gold}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gold_freeze')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gold_freeze"  class="form-control form-control" step="0.01" name="row[gold_freeze]" type="number" value="{$row.gold_freeze}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Silver')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-silver"  class="form-control form-control" step="0.01" name="row[silver]" type="number" value="{$row.silver}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Silver_freeze')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-silver_freeze"  class="form-control form-control" step="0.01" name="row[silver_freeze]" type="number" value="{$row.silver_freeze}">
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Login_ip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-login_ip" class="form-control form-control" name="row[login_ip]" type="text" value="{$row.login_ip}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Login_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-login_time" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[login_time]" type="text" value="{$row.login_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Token')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-token" class="form-control form-control" name="row[token]" type="text" value="{$row.token}">
        </div>
    </div> -->
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('First')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-first" class="form-control form-control" name="row[first]" type="number" value="{$row.first}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Second')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-second" class="form-control form-control" name="row[second]" type="number" value="{$row.second}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Third')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-third" class="form-control form-control" name="row[third]" type="number" value="{$row.third}">
        </div>
    </div> -->
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Home')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-home" class="form-control form-control" name="row[home]" type="text" value="{$row.home}">
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card_name" class="form-control form-control" name="row[card_name]" type="text" value="{$row.card_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card_num" class="form-control form-control" name="row[card_num]" type="text" value="{$row.card_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Card_bank')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card_bank" class="form-control form-control" name="row[card_bank]" type="text" value="{$row.card_bank}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_num" class="form-control form-control" name="row[wx_num]" type="text" value="{$row.wx_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wx_payimage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-wx_payimage" class="form-control form-control" size="50" name="row[wx_payimage]" type="text" value="{$row.wx_payimage}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-wx_payimage" class="btn btn-danger plupload" data-input-id="c-wx_payimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-wx_payimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-wx_payimage" class="btn btn-primary fachoose" data-input-id="c-wx_payimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-wx_payimage"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-wx_payimage"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zfb_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zfb_num" class="form-control form-control" name="row[zfb_num]" type="text" value="{$row.zfb_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zfb_payimage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-zfb_payimage" class="form-control form-control" size="50" name="row[zfb_payimage]" type="text" value="{$row.zfb_payimage}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-zfb_payimage" class="btn btn-danger plupload" data-input-id="c-zfb_payimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-zfb_payimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-zfb_payimage" class="btn btn-primary fachoose" data-input-id="c-zfb_payimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-zfb_payimage"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-zfb_payimage"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Truename')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-truename" class="form-control form-control" name="row[truename]" type="text" value="{$row.truename}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-idcard" class="form-control form-control" name="row[idcard]" type="text" value="{$row.idcard}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
